﻿using DryWCS.Service.GlobalVariable;
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DryWCS.App.ViewModel
{
    public class WarehouseStatisticsViewModel : ViewModelBase
    {
        public int TotalCell { get; set; } = GV.Line1ColCount * GV.Line1LayerCount + GV.Line2ColCount * GV.Line2LayerCount;

        private int fullCell;
        public int FullCell
        {
            get { return fullCell; }
            set
            {
                fullCell = value;
                this.RaisePropertyChanged("FullCell");
            }
        }


        private int emptyCell;
        public int EmptyCell
        {
            get { return emptyCell; }
            set
            {
                emptyCell = value;
                this.RaisePropertyChanged("EmptyCell");
            }
        }


        private int scheduledInCell;
        public int ScheduledInCell
        {
            get { return scheduledInCell; }
            set
            {
                scheduledInCell = value;
                this.RaisePropertyChanged("ScheduledInCell");
            }
        }


        private int scheduledOutCell;
        public int ScheduledOutCell
        {
            get { return scheduledOutCell; }
            set
            {
                scheduledOutCell = value;
                this.RaisePropertyChanged("ScheduledOutCell");
            }
        }


        private int scheduledPickCell;
        public int ScheduledPickCell
        {
            get { return scheduledPickCell; }
            set
            {
                scheduledPickCell = value;
                this.RaisePropertyChanged("ScheduledPickCell");
            }
        }


        private int scheduledMoveCell;
        public int ScheduledMoveCell
        {
            get { return scheduledMoveCell; }
            set
            {
                scheduledMoveCell = value;
                this.RaisePropertyChanged("ScheduledMoveCell");
            }
        }


        private int forbiddenCell;
        public int ForbiddenCell
        {
            get { return forbiddenCell; }
            set
            {
                forbiddenCell = value;
                this.RaisePropertyChanged("ForbiddenCell");
            }
        }


        private int reservedCell;
        public int ReservedCell
        {
            get { return reservedCell; }
            set
            {
                reservedCell = value;
                this.RaisePropertyChanged("ReservedCell");
            }
        }


        private int repeatInCell;
        public int RepeatInCell
        {
            get { return repeatInCell; }
            set
            {
                repeatInCell = value;
                this.RaisePropertyChanged("RepeatInCell");
            }
        }


        private int repeatOutCell;
        public int RepeatOutCell
        {
            get { return repeatOutCell; }
            set
            {
                repeatOutCell = value;
                this.RaisePropertyChanged("RepeatOutCell");
            }
        }


        private int errorManualCell;
        public int ErrorManualCell
        {
            get { return errorManualCell; }
            set
            {
                errorManualCell = value;
                this.RaisePropertyChanged("ErrorManualCell");
            }
        }
    }
}
